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 321 if (!decode_hex(&key, &key_len, test->key, test_num, "key") || in run_test_case() 322 !decode_hex(&plaintext, &plaintext_len, test->plaintext, test_num, in run_test_case() 324 !decode_hex(&additional_data, &additional_data_len, test->additional_data, in run_test_case() 326 !decode_hex(&nonce, &nonce_len, test->nonce, test_num, "nonce") || in run_test_case() 327 !decode_hex(&ciphertext, &ciphertext_len, test->ciphertext, test_num, in run_test_case() 329 !decode_hex(&tag, &tag_len, test->tag, test_num, "tag")) { in run_test_case()
|
/external/boringssl/src/crypto/bn/ |
D | convert.c | 231 static void decode_hex(BIGNUM *bn, const char *in, int i) { in decode_hex() function 347 return bn_x2bn(outp, in, decode_hex, isxdigit); in BN_hex2bn()
|