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
262 unsigned char tag, in pkcs7_sig_note_pkey_algo() argument
283 unsigned char tag, in pkcs7_check_content_type() argument
300 unsigned char tag, in pkcs7_note_signeddata_version() argument
334 unsigned char tag, in pkcs7_note_signerinfo_version() argument
377 unsigned char tag, in pkcs7_extract_cert() argument
383 if (tag != ((ASN1_UNIV << 6) | ASN1_CONS_BIT | ASN1_SEQ)) { in pkcs7_extract_cert()
385 tag, (unsigned long)ctx - ctx->data); in pkcs7_extract_cert()
417 unsigned char tag, in pkcs7_note_certificate_list() argument
[all …]
Dx509_cert_parser.c156 unsigned char tag, in x509_note_OID() argument
176 unsigned char tag, in x509_note_tbs_certificate() argument
182 hdrlen, tag, (unsigned long)value - ctx->data, vlen); in x509_note_tbs_certificate()
193 unsigned char tag, in x509_note_pkey_algo() argument
255 unsigned char tag, in x509_note_signature() argument
287 unsigned char tag, in x509_note_serial() argument
300 unsigned char tag, in x509_extract_name_segment() argument
329 unsigned char tag, in x509_fabricate_name() argument
404 unsigned char tag, in x509_note_issuer() argument
410 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.h50 unsigned char tag,
Dtpm_parser.c22 unsigned char tag, in tpm_note_key() argument
Dasym_tpm.c334 static inline uint8_t *encode_tag_length(uint8_t *buf, uint8_t tag, in encode_tag_length() argument
337 *buf++ = tag; in encode_tag_length()
/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
Dchacha20poly1305.c59 u8 tag[POLY1305_DIGEST_SIZE]; member
100 u8 tag[sizeof(rctx->tag)]; in poly_verify_tag() local
102 scatterwalk_map_and_copy(tag, req->src, in poly_verify_tag()
104 sizeof(tag), 0); in poly_verify_tag()
105 if (crypto_memneq(tag, rctx->tag, sizeof(tag))) in poly_verify_tag()
114 scatterwalk_map_and_copy(rctx->tag, req->dst, in poly_copy_tag()
116 sizeof(rctx->tag), 1); in poly_copy_tag()
187 rctx->tag, sizeof(preq->tail)); in poly_tail()
Daegis128-core.c416 union aegis_block tag = {}; in crypto_aegis128_encrypt() local
425 crypto_aegis128_crypt(req, &tag, cryptlen, ops); in crypto_aegis128_encrypt()
427 scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen, in crypto_aegis128_encrypt()
441 union aegis_block tag; in crypto_aegis128_decrypt() local
445 scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen, in crypto_aegis128_decrypt()
453 crypto_aegis128_crypt(req, &tag, cryptlen, ops); in crypto_aegis128_decrypt()
455 return crypto_memneq(tag.bytes, zeros, authsize) ? -EBADMSG : 0; in crypto_aegis128_decrypt()
Decrdsa.c149 int ecrdsa_param_curve(void *context, size_t hdrlen, unsigned char tag, in ecrdsa_param_curve() argument
162 int ecrdsa_param_digest(void *context, size_t hdrlen, unsigned char tag, in ecrdsa_param_digest() argument
173 int ecrdsa_parse_pub_key(void *context, size_t hdrlen, unsigned char tag, in ecrdsa_parse_pub_key() argument
Dccm.c258 static int crypto_ccm_init_crypt(struct aead_request *req, u8 *tag) in crypto_ccm_init_crypt() argument
277 sg_set_buf(pctx->src, tag, 16); in crypto_ccm_init_crypt()
284 sg_set_buf(pctx->dst, tag, 16); in crypto_ccm_init_crypt()