/crypto/asymmetric_keys/ |
D | pkcs7_parser.c | 205 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 …]
|
D | x509_cert_parser.c | 156 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 264 unsigned char tag, in x509_note_signature() argument 297 unsigned char tag, in x509_note_serial() argument 310 unsigned char tag, in x509_extract_name_segment() argument 339 unsigned char tag, in x509_fabricate_name() argument 414 unsigned char tag, in x509_note_issuer() argument 420 return x509_fabricate_name(ctx, hdrlen, tag, &ctx->cert->issuer, vlen); in x509_note_issuer() [all …]
|
D | pkcs8_parser.c | 34 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
|
D | mscode_parser.c | 37 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
|
D | pkcs7_verify.c | 73 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()
|
D | x509_parser.h | 50 unsigned char tag,
|
D | tpm_parser.c | 22 unsigned char tag, in tpm_note_key() argument
|
D | asym_tpm.c | 318 static inline uint8_t *encode_tag_length(uint8_t *buf, uint8_t tag, in encode_tag_length() argument 321 *buf++ = tag; in encode_tag_length()
|
/crypto/ |
D | rsa_helper.c | 16 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
|
D | aegis128-core.c | 395 union aegis_block tag = {}; in crypto_aegis128_encrypt() local 408 crypto_aegis128_final_simd(&state, &tag, req->assoclen, in crypto_aegis128_encrypt() 415 crypto_aegis128_final(&state, &tag, req->assoclen, cryptlen); in crypto_aegis128_encrypt() 418 scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen, in crypto_aegis128_encrypt() 427 union aegis_block tag; in crypto_aegis128_decrypt() local 434 scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen, in crypto_aegis128_decrypt() 443 crypto_aegis128_final_simd(&state, &tag, req->assoclen, in crypto_aegis128_decrypt() 450 crypto_aegis128_final(&state, &tag, req->assoclen, cryptlen); in crypto_aegis128_decrypt() 453 return crypto_memneq(tag.bytes, zeros, authsize) ? -EBADMSG : 0; in crypto_aegis128_decrypt()
|
D | chacha20poly1305.c | 57 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()
|
D | ecrdsa.c | 150 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
|
D | sm2.c | 186 int sm2_get_signature_r(void *context, size_t hdrlen, unsigned char tag, in sm2_get_signature_r() argument 201 int sm2_get_signature_s(void *context, size_t hdrlen, unsigned char tag, in sm2_get_signature_s() argument
|
D | ccm.c | 250 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()
|