Searched refs:buf_in (Results 1 – 3 of 3) sorted by relevance
/openssl/crypto/asn1/ |
H A D | a_verify.c | 32 unsigned char *p, *buf_in = NULL; in ASN1_verify() local 56 buf_in = OPENSSL_malloc((unsigned int)inl); in ASN1_verify() 57 if (buf_in == NULL) in ASN1_verify() 59 p = buf_in; in ASN1_verify() 63 && EVP_VerifyUpdate(ctx, (unsigned char *)buf_in, inl); in ASN1_verify() 65 OPENSSL_clear_free(buf_in, (unsigned int)inl); in ASN1_verify() 115 unsigned char *buf_in = NULL; in ASN1_item_verify_ctx() local 202 inl = ASN1_item_i2d(data, &buf_in, it); in ASN1_item_verify_ctx() 208 if (buf_in == NULL) { in ASN1_item_verify_ctx() 216 buf_in, inl); in ASN1_item_verify_ctx() [all …]
|
H A D | a_sign.c | 32 unsigned char *p, *buf_in = NULL, *buf_out = NULL; in ASN1_sign() local 80 buf_in = OPENSSL_malloc(inll); in ASN1_sign() 83 if (buf_in == NULL || buf_out == NULL) { in ASN1_sign() 87 p = buf_in; in ASN1_sign() 91 || !EVP_SignUpdate(ctx, (unsigned char *)buf_in, inl) in ASN1_sign() 107 OPENSSL_clear_free((char *)buf_in, inll); in ASN1_sign() 153 unsigned char *buf_in = NULL, *buf_out = NULL; in ASN1_item_sign_ctx() local 256 buf_len = ASN1_item_i2d(data, &buf_in, it); in ASN1_item_sign_ctx() 263 if (!EVP_DigestSign(ctx, NULL, &outll, buf_in, inl)) { in ASN1_item_sign_ctx() 270 if (buf_in == NULL || buf_out == NULL) { in ASN1_item_sign_ctx() [all …]
|
/openssl/apps/ |
H A D | pkeyutl.c | 136 unsigned char *buf_in = NULL, *buf_out = NULL, *sig = NULL, *secret = NULL; in pkeyutl_main() local 480 buf_inlen = bio_to_mem(&buf_in, -1, in); in pkeyutl_main() 491 ctmp = buf_in[i]; in pkeyutl_main() 492 buf_in[i] = buf_in[l - 1 - i]; in pkeyutl_main() 493 buf_in[l - 1 - i] = ctmp; in pkeyutl_main() 515 buf_in, (size_t)buf_inlen); in pkeyutl_main() 535 buf_in, (size_t)buf_inlen, NULL, (size_t *)&secretlen); in pkeyutl_main() 543 buf_in, (size_t)buf_inlen, secret, (size_t *)&secretlen); in pkeyutl_main() 578 OPENSSL_free(buf_in); in pkeyutl_main()
|
Completed in 8 milliseconds