Searched refs:expected_tag (Results 1 – 3 of 3) sorted by relevance
/openbsd/usr.bin/ssh/ |
H A D | cipher-chachapoly.c | 67 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; in chachapoly_crypt() local 84 poly1305_auth(expected_tag, src, aadlen + len, poly_key); in chachapoly_crypt() 85 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { in chachapoly_crypt() 109 explicit_bzero(expected_tag, sizeof(expected_tag)); in chachapoly_crypt()
|
H A D | cipher-chachapoly-libcrypto.c | 83 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; in chachapoly_crypt() local 103 poly1305_auth(expected_tag, src, aadlen + len, poly_key); in chachapoly_crypt() 104 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { in chachapoly_crypt() 134 explicit_bzero(expected_tag, sizeof(expected_tag)); in chachapoly_crypt()
|
/openbsd/lib/libcrypto/asn1/ |
H A D | tasn_dec.c | 106 int *out_indefinite, int *out_constructed, int expected_tag, in asn1_check_tag() argument 130 if (expected_tag >= 0) { in asn1_check_tag() 131 if (expected_tag != tag_number || in asn1_check_tag() 181 asn1_collect(CBB *cbb, CBS *cbs, int indefinite, int expected_tag, in asn1_collect() argument 205 &constructed, expected_tag, expected_class, 0)) { in asn1_collect() 211 if (!asn1_collect(cbb, cbs, indefinite, expected_tag, in asn1_collect()
|