Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 13 of 13) sorted by relevance

/crypto/asymmetric_keys/
Dpkcs7_parser.c205 unsigned char tag, in pkcs7_note_OID() argument
224 unsigned char tag, in pkcs7_sig_note_digest_algo() argument
271 unsigned char tag, in pkcs7_sig_note_pkey_algo() argument
309 unsigned char tag, in pkcs7_check_content_type() argument
326 unsigned char tag, in pkcs7_note_signeddata_version() argument
360 unsigned char tag, in pkcs7_note_signerinfo_version() argument
403 unsigned char tag, in pkcs7_extract_cert() argument
409 if (tag != ((ASN1_UNIV << 6) | ASN1_CONS_BIT | ASN1_SEQ)) { in pkcs7_extract_cert()
411 tag, (unsigned long)ctx - ctx->data); in pkcs7_extract_cert()
443 unsigned char tag, in pkcs7_note_certificate_list() argument
[all …]
Dx509_cert_parser.c154 unsigned char tag, in x509_note_OID() argument
174 unsigned char tag, in x509_note_tbs_certificate() argument
180 hdrlen, tag, (unsigned long)value - ctx->data, vlen); in x509_note_tbs_certificate()
190 int x509_note_sig_algo(void *context, size_t hdrlen, unsigned char tag, in x509_note_sig_algo() argument
286 unsigned char tag, in x509_note_signature() argument
325 unsigned char tag, in x509_note_serial() argument
338 unsigned char tag, in x509_extract_name_segment() argument
367 unsigned char tag, in x509_fabricate_name() argument
442 unsigned char tag, in x509_note_issuer() argument
458 return x509_fabricate_name(ctx, hdrlen, tag, &ctx->cert->issuer, vlen); in x509_note_issuer()
[all …]
Dpkcs8_parser.c34 unsigned char tag, in pkcs8_note_OID() argument
54 unsigned char tag, in pkcs8_note_version() argument
68 unsigned char tag, in pkcs8_note_algo() argument
84 unsigned char tag, in pkcs8_note_key() argument
Dmscode_parser.c37 unsigned char tag, in mscode_note_content_type() argument
69 unsigned char tag, in mscode_note_digest_algo() argument
117 unsigned char tag, in mscode_note_digest() argument
Dpkcs7_verify.c73 u8 tag; in pkcs7_digest() local
106 tag = ASN1_CONS_BIT | ASN1_SET; in pkcs7_digest()
107 ret = crypto_shash_update(desc, &tag, 1); in pkcs7_digest()
Dx509_parser.h49 unsigned char tag,
/crypto/
Drsa_helper.c16 int rsa_get_n(void *context, size_t hdrlen, unsigned char tag, in rsa_get_n() argument
46 int rsa_get_e(void *context, size_t hdrlen, unsigned char tag, in rsa_get_e() argument
61 int rsa_get_d(void *context, size_t hdrlen, unsigned char tag, in rsa_get_d() argument
76 int rsa_get_p(void *context, size_t hdrlen, unsigned char tag, in rsa_get_p() argument
91 int rsa_get_q(void *context, size_t hdrlen, unsigned char tag, in rsa_get_q() argument
106 int rsa_get_dp(void *context, size_t hdrlen, unsigned char tag, in rsa_get_dp() argument
121 int rsa_get_dq(void *context, size_t hdrlen, unsigned char tag, in rsa_get_dq() argument
136 int rsa_get_qinv(void *context, size_t hdrlen, unsigned char tag, in rsa_get_qinv() argument
Daegis128-core.c391 union aegis_block tag = {}; in crypto_aegis128_encrypt_generic() local
403 crypto_aegis128_final(&state, &tag, req->assoclen, cryptlen); in crypto_aegis128_encrypt_generic()
405 scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen, in crypto_aegis128_encrypt_generic()
414 union aegis_block tag; in crypto_aegis128_decrypt_generic() local
421 scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen, in crypto_aegis128_decrypt_generic()
429 crypto_aegis128_final(&state, &tag, req->assoclen, cryptlen); in crypto_aegis128_decrypt_generic()
431 if (unlikely(crypto_memneq(tag.bytes, zeros, authsize))) { in crypto_aegis128_decrypt_generic()
443 memzero_explicit(&tag, sizeof(tag)); in crypto_aegis128_decrypt_generic()
452 union aegis_block tag = {}; in crypto_aegis128_encrypt_simd() local
467 crypto_aegis128_final_simd(&state, &tag, req->assoclen, cryptlen, 0); in crypto_aegis128_encrypt_simd()
[all …]
Dchacha20poly1305.c57 u8 tag[POLY1305_DIGEST_SIZE]; member
98 u8 tag[sizeof(rctx->tag)]; in poly_verify_tag() local
100 scatterwalk_map_and_copy(tag, req->src, in poly_verify_tag()
102 sizeof(tag), 0); in poly_verify_tag()
103 if (crypto_memneq(tag, rctx->tag, sizeof(tag))) in poly_verify_tag()
112 scatterwalk_map_and_copy(rctx->tag, req->dst, in poly_copy_tag()
114 sizeof(rctx->tag), 1); in poly_copy_tag()
185 rctx->tag, sizeof(preq->tail)); in poly_tail()
Decdsa.c35 static int ecdsa_get_signature_rs(u64 *dest, size_t hdrlen, unsigned char tag, in ecdsa_get_signature_rs() argument
76 int ecdsa_get_signature_r(void *context, size_t hdrlen, unsigned char tag, in ecdsa_get_signature_r() argument
81 return ecdsa_get_signature_rs(sig->r, hdrlen, tag, value, vlen, in ecdsa_get_signature_r()
85 int ecdsa_get_signature_s(void *context, size_t hdrlen, unsigned char tag, in ecdsa_get_signature_s() argument
90 return ecdsa_get_signature_rs(sig->s, hdrlen, tag, value, vlen, in ecdsa_get_signature_s()
Decrdsa.c150 int ecrdsa_param_curve(void *context, size_t hdrlen, unsigned char tag, in ecrdsa_param_curve() argument
163 int ecrdsa_param_digest(void *context, size_t hdrlen, unsigned char tag, in ecrdsa_param_digest() argument
174 int ecrdsa_parse_pub_key(void *context, size_t hdrlen, unsigned char tag, in ecrdsa_parse_pub_key() argument
Dsm2.c192 int sm2_get_signature_r(void *context, size_t hdrlen, unsigned char tag, in sm2_get_signature_r() argument
207 int sm2_get_signature_s(void *context, size_t hdrlen, unsigned char tag, in sm2_get_signature_s() argument
Dccm.c250 static int crypto_ccm_init_crypt(struct aead_request *req, u8 *tag) in crypto_ccm_init_crypt() argument
269 sg_set_buf(pctx->src, tag, 16); in crypto_ccm_init_crypt()
276 sg_set_buf(pctx->dst, tag, 16); in crypto_ccm_init_crypt()