Searched refs:min_mac_length_bits (Results 1 – 2 of 2) sorted by relevance
65 uint32_t min_mac_length_bits; in validate_algorithm_specific_new_key_params() local66 if (!key_description.GetTagValue(TAG_MIN_MAC_LENGTH, &min_mac_length_bits)) in validate_algorithm_specific_new_key_params()104 if (min_mac_length_bits % 8 != 0 || min_mac_length_bits > hash_size_bits) in validate_algorithm_specific_new_key_params()107 if (min_mac_length_bits < kMinHmacLengthBits) return KM_ERROR_UNSUPPORTED_MIN_MAC_LENGTH; in validate_algorithm_specific_new_key_params()
40 uint32_t min_mac_length_bits; in CreateOperation() local41 if (!key.authorizations().GetTagValue(TAG_MIN_MAC_LENGTH, &min_mac_length_bits)) { in CreateOperation()75 std::move(key), purpose(), digest, mac_length_bits / 8, min_mac_length_bits / 8)); in CreateOperation()