Lines Matching refs:key

56 writeback_tdes_hex_str(const char *key, char *dst, struct fips_val *val);
59 parse_tdes_uint8_hex_str(const char *key, char *src, struct fips_val *val);
62 parse_tdes_interim(const char *key, char *text, struct fips_val *val);
65 {KEYS_STR, parse_tdes_uint8_hex_str, &vec.cipher_auth.key},
66 {KEY1_STR, parse_tdes_uint8_hex_str, &vec.cipher_auth.key},
67 {KEY2_STR, parse_tdes_uint8_hex_str, &vec.cipher_auth.key},
68 {KEY3_STR, parse_tdes_uint8_hex_str, &vec.cipher_auth.key},
86 {KEY1_STR, writeback_tdes_hex_str, &vec.cipher_auth.key},
87 {KEY2_STR, writeback_tdes_hex_str, &vec.cipher_auth.key},
88 {KEY3_STR, writeback_tdes_hex_str, &vec.cipher_auth.key},
89 {KEYS_STR, writeback_tdes_hex_str, &vec.cipher_auth.key},
96 parse_tdes_interim(const char *key, char *text, in parse_tdes_interim() argument
99 if (strstr(key, ENC_STR)) in parse_tdes_interim()
101 else if (strstr(key, DEC_STR)) in parse_tdes_interim()
103 else if (strstr(key, NK_STR)) { in parse_tdes_interim()
119 parse_tdes_uint8_hex_str(const char *key, char *src, struct fips_val *val) in parse_tdes_uint8_hex_str() argument
124 src += strlen(key); in parse_tdes_uint8_hex_str()
139 if (strstr(key, KEYS_STR)) { in parse_tdes_uint8_hex_str()
150 } else if (strstr(key, KEY1_STR)) { in parse_tdes_uint8_hex_str()
161 } else if (strstr(key, KEY2_STR)) { in parse_tdes_uint8_hex_str()
169 } else if (strstr(key, KEY3_STR)) { in parse_tdes_uint8_hex_str()
205 writeback_tdes_hex_str(const char *key, char *dst, struct fips_val *val) in writeback_tdes_hex_str() argument
211 if (strstr(key, KEY1_STR)) in writeback_tdes_hex_str()
213 else if (strstr(key, KEY2_STR)) in writeback_tdes_hex_str()
215 else if (strstr(key, KEY3_STR)) in writeback_tdes_hex_str()
220 return writeback_hex_str(key, dst, &tmp_val); in writeback_tdes_hex_str()