Searched refs:decode_hex (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/crypto/modes/ |
D | gcm_test.c | 258 static int decode_hex(uint8_t **out, size_t *out_len, const char *in, in decode_hex() function 310 if (!decode_hex(&key, &key_len, test->key, test_num, "key") || in run_test_case() 311 !decode_hex(&plaintext, &plaintext_len, test->plaintext, test_num, in run_test_case() 313 !decode_hex(&additional_data, &additional_data_len, test->additional_data, in run_test_case() 315 !decode_hex(&nonce, &nonce_len, test->nonce, test_num, "nonce") || in run_test_case() 316 !decode_hex(&ciphertext, &ciphertext_len, test->ciphertext, test_num, in run_test_case() 318 !decode_hex(&tag, &tag_len, test->tag, test_num, "tag")) { in run_test_case()
|
/external/boringssl/src/crypto/bn/ |
D | convert.c | 243 static int decode_hex(BIGNUM *bn, const char *in, int in_len) { in decode_hex() function 371 return bn_x2bn(outp, in, decode_hex, isxdigit); in BN_hex2bn()
|