Searched refs:library_context (Results 1 – 12 of 12) sorted by relevance
/openssl/demos/kdf/ |
H A D | argon2.c | 82 OSSL_LIB_CTX *library_context = NULL; in main() local 85 library_context = OSSL_LIB_CTX_new(); in main() 86 if (library_context == NULL) { in main() 92 kdf = EVP_KDF_fetch(library_context, "argon2id", NULL); in main() 110 if (OSSL_set_max_threads(library_context, parallel_cost) != 1) { in main() 111 uint64_t max_threads = OSSL_get_max_threads(library_context); in main() 154 OSSL_LIB_CTX_free(library_context); in main()
|
H A D | pbkdf2.c | 65 OSSL_LIB_CTX *library_context = NULL; in main() local 67 library_context = OSSL_LIB_CTX_new(); in main() 68 if (library_context == NULL) { in main() 74 kdf = EVP_KDF_fetch(library_context, "PBKDF2", NULL); in main() 117 OSSL_LIB_CTX_free(library_context); in main()
|
H A D | hkdf.c | 51 OSSL_LIB_CTX *library_context = NULL; in main() local 53 library_context = OSSL_LIB_CTX_new(); in main() 54 if (library_context == NULL) { in main() 60 kdf = EVP_KDF_fetch(library_context, "HKDF", NULL); in main() 104 OSSL_LIB_CTX_free(library_context); in main()
|
H A D | scrypt.c | 67 OSSL_LIB_CTX *library_context = NULL; in main() local 69 library_context = OSSL_LIB_CTX_new(); in main() 70 if (library_context == NULL) { in main() 76 kdf = EVP_KDF_fetch(library_context, "SCRYPT", NULL); in main() 120 OSSL_LIB_CTX_free(library_context); in main()
|
/openssl/demos/digest/ |
H A D | EVP_MD_stdin.c | 36 OSSL_LIB_CTX *library_context = NULL; in demonstrate_digest() local 46 library_context = OSSL_LIB_CTX_new(); in demonstrate_digest() 47 if (library_context == NULL) { in demonstrate_digest() 57 message_digest = EVP_MD_fetch(library_context, in demonstrate_digest() 62 OSSL_LIB_CTX_free(library_context); in demonstrate_digest() 120 OSSL_LIB_CTX_free(library_context); in demonstrate_digest()
|
H A D | BIO_f_md.c | 40 OSSL_LIB_CTX *library_context = NULL; in main() local 54 library_context = OSSL_LIB_CTX_new(); in main() 55 if (library_context == NULL) { in main() 65 md = EVP_MD_fetch(library_context, "SHA3-512", NULL); in main() 123 OSSL_LIB_CTX_free(library_context); in main()
|
H A D | EVP_MD_demo.c | 81 OSSL_LIB_CTX *library_context; in demonstrate_digest() local 90 library_context = OSSL_LIB_CTX_new(); in demonstrate_digest() 91 if (library_context == NULL) { in demonstrate_digest() 101 message_digest = EVP_MD_fetch(library_context, in demonstrate_digest() 175 OSSL_LIB_CTX_free(library_context); in demonstrate_digest()
|
/openssl/demos/mac/ |
H A D | poly1305.c | 93 OSSL_LIB_CTX *library_context = NULL; in main() local 97 library_context = OSSL_LIB_CTX_new(); in main() 98 if (library_context == NULL) { in main() 104 mac = EVP_MAC_fetch(library_context, "POLY1305", propq); in main() 118 aes = EVP_CIPHER_fetch(library_context, "AES-128-ECB", propq); in main() 205 OSSL_LIB_CTX_free(library_context); in main()
|
H A D | gmac.c | 65 OSSL_LIB_CTX *library_context = NULL; in main() local 68 library_context = OSSL_LIB_CTX_new(); in main() 69 if (library_context == NULL) { in main() 75 mac = EVP_MAC_fetch(library_context, "GMAC", propq); in main() 141 OSSL_LIB_CTX_free(library_context); in main()
|
H A D | siphash.c | 52 OSSL_LIB_CTX *library_context = NULL; in main() local 56 library_context = OSSL_LIB_CTX_new(); in main() 57 if (library_context == NULL) { in main() 63 mac = EVP_MAC_fetch(library_context, "SIPHASH", propq); in main() 125 OSSL_LIB_CTX_free(library_context); in main()
|
H A D | cmac-aes256.c | 69 OSSL_LIB_CTX *library_context = NULL; in main() local 77 library_context = OSSL_LIB_CTX_new(); in main() 78 if (library_context == NULL) { in main() 84 mac = EVP_MAC_fetch(library_context, "CMAC", propq); in main() 152 OSSL_LIB_CTX_free(library_context); in main()
|
H A D | hmac-sha512.c | 79 OSSL_LIB_CTX *library_context = NULL; in main() local 88 library_context = OSSL_LIB_CTX_new(); in main() 89 if (library_context == NULL) { in main() 95 mac = EVP_MAC_fetch(library_context, "HMAC", propq); in main() 164 OSSL_LIB_CTX_free(library_context); in main()
|
Completed in 18 milliseconds