| /src/crypto/external/apache2/openssl/dist/test/ |
| sm3_internal_test.c | 59 SM3_CTX ctx1, ctx2; local 68 if (!TEST_true(ossl_sm3_init(&ctx2)) 69 || !TEST_true(ossl_sm3_update(&ctx2, input2, sizeof(input2))) 70 || !TEST_true(ossl_sm3_final(md2, &ctx2))
|
| sm3_internal_test.c | 59 SM3_CTX ctx1, ctx2; local 68 if (!TEST_true(ossl_sm3_init(&ctx2)) 69 || !TEST_true(ossl_sm3_update(&ctx2, input2, sizeof(input2))) 70 || !TEST_true(ossl_sm3_final(md2, &ctx2))
|
| cmactest.c | 275 CMAC_CTX *ctx = NULL, *ctx2 = NULL; local 281 ctx2 = CMAC_CTX_new(); 282 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 288 || !TEST_true(CMAC_CTX_copy(ctx2, ctx)) 289 || !TEST_true(CMAC_Final(ctx2, buf, &len))) 298 CMAC_CTX_free(ctx2);
|
| cmactest.c | 275 CMAC_CTX *ctx = NULL, *ctx2 = NULL; local 281 ctx2 = CMAC_CTX_new(); 282 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 288 || !TEST_true(CMAC_CTX_copy(ctx2, ctx)) 289 || !TEST_true(CMAC_Final(ctx2, buf, &len))) 298 CMAC_CTX_free(ctx2);
|
| hmactest.c | 247 HMAC_CTX *ctx = NULL, *ctx2 = NULL; local 253 ctx2 = HMAC_CTX_new(); 254 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 259 || !TEST_true(HMAC_CTX_copy(ctx2, ctx)) 260 || !TEST_true(HMAC_Final(ctx2, buf, &len))) 269 HMAC_CTX_free(ctx2);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| sm3_internal_test.c | 59 SM3_CTX ctx1, ctx2; local 68 if (!TEST_true(ossl_sm3_init(&ctx2)) 69 || !TEST_true(ossl_sm3_update(&ctx2, input2, sizeof(input2))) 70 || !TEST_true(ossl_sm3_final(md2, &ctx2))
|
| sm3_internal_test.c | 59 SM3_CTX ctx1, ctx2; local 68 if (!TEST_true(ossl_sm3_init(&ctx2)) 69 || !TEST_true(ossl_sm3_update(&ctx2, input2, sizeof(input2))) 70 || !TEST_true(ossl_sm3_final(md2, &ctx2))
|
| cmactest.c | 171 CMAC_CTX *ctx = NULL, *ctx2 = NULL; local 177 ctx2 = CMAC_CTX_new(); 178 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 184 || !TEST_true(CMAC_CTX_copy(ctx2, ctx)) 185 || !TEST_true(CMAC_Final(ctx2, buf, &len))) 194 CMAC_CTX_free(ctx2);
|
| hmactest.c | 223 HMAC_CTX *ctx = NULL, *ctx2 = NULL; local 229 ctx2 = HMAC_CTX_new(); 230 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 235 || !TEST_true(HMAC_CTX_copy(ctx2, ctx)) 236 || !TEST_true(HMAC_Final(ctx2, buf, &len))) 245 HMAC_CTX_free(ctx2);
|
| cmactest.c | 171 CMAC_CTX *ctx = NULL, *ctx2 = NULL; local 177 ctx2 = CMAC_CTX_new(); 178 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 184 || !TEST_true(CMAC_CTX_copy(ctx2, ctx)) 185 || !TEST_true(CMAC_Final(ctx2, buf, &len))) 194 CMAC_CTX_free(ctx2);
|
| hmactest.c | 223 HMAC_CTX *ctx = NULL, *ctx2 = NULL; local 229 ctx2 = HMAC_CTX_new(); 230 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 235 || !TEST_true(HMAC_CTX_copy(ctx2, ctx)) 236 || !TEST_true(HMAC_Final(ctx2, buf, &len))) 245 HMAC_CTX_free(ctx2);
|
| /src/crypto/external/apache2/openssl/dist/crypto/rsa/ |
| rsa_x931g.c | 31 BN_CTX *ctx = NULL, *ctx2 = NULL; local 113 ctx2 = BN_CTX_new(); 114 if (ctx2 == NULL) 117 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ 136 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); 145 BN_CTX_free(ctx2);
|
| rsa_x931g.c | 31 BN_CTX *ctx = NULL, *ctx2 = NULL; local 113 ctx2 = BN_CTX_new(); 114 if (ctx2 == NULL) 117 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ 136 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); 145 BN_CTX_free(ctx2);
|
| /src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| rsa_x931g.c | 31 BN_CTX *ctx = NULL, *ctx2 = NULL; local 113 ctx2 = BN_CTX_new(); 114 if (ctx2 == NULL) 117 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ 136 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); 145 BN_CTX_free(ctx2);
|
| rsa_x931g.c | 31 BN_CTX *ctx = NULL, *ctx2 = NULL; local 113 ctx2 = BN_CTX_new(); 114 if (ctx2 == NULL) 117 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ 136 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); 145 BN_CTX_free(ctx2);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
| rsa_x931g.c | 25 BN_CTX *ctx = NULL, *ctx2 = NULL; local 107 ctx2 = BN_CTX_new(); 108 if (ctx2 == NULL) 111 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ 130 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); 138 BN_CTX_free(ctx2);
|
| rsa_x931g.c | 25 BN_CTX *ctx = NULL, *ctx2 = NULL; local 107 ctx2 = BN_CTX_new(); 108 if (ctx2 == NULL) 111 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ 130 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); 138 BN_CTX_free(ctx2);
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| cmactest.c | 165 CMAC_CTX *ctx = NULL, *ctx2 = NULL; local 171 ctx2 = CMAC_CTX_new(); 172 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 178 || !TEST_true(CMAC_CTX_copy(ctx2, ctx)) 179 || !TEST_true(CMAC_Final(ctx2, buf, &len))) 188 CMAC_CTX_free(ctx2);
|
| cmactest.c | 165 CMAC_CTX *ctx = NULL, *ctx2 = NULL; local 171 ctx2 = CMAC_CTX_new(); 172 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 178 || !TEST_true(CMAC_CTX_copy(ctx2, ctx)) 179 || !TEST_true(CMAC_Final(ctx2, buf, &len))) 188 CMAC_CTX_free(ctx2);
|
| hmactest.c | 223 HMAC_CTX *ctx = NULL, *ctx2 = NULL; local 229 ctx2 = HMAC_CTX_new(); 230 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 235 || !TEST_true(HMAC_CTX_copy(ctx2, ctx)) 236 || !TEST_true(HMAC_Final(ctx2, buf, &len))) 245 HMAC_CTX_free(ctx2);
|
| hmactest.c | 223 HMAC_CTX *ctx = NULL, *ctx2 = NULL; local 229 ctx2 = HMAC_CTX_new(); 230 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 235 || !TEST_true(HMAC_CTX_copy(ctx2, ctx)) 236 || !TEST_true(HMAC_Final(ctx2, buf, &len))) 245 HMAC_CTX_free(ctx2);
|
| /src/crypto/external/apache2/openssl/dist/demos/pkey/ |
| EVP_PKEY_DSA_paramvalidate.c | 110 EVP_PKEY_CTX *ctx2 = NULL; local 182 ctx2 = create_merged_key(dsaparamskey, params, libctx, propq); 183 if (ctx2 == NULL) 185 if (EVP_PKEY_param_check(ctx2) <= 0) { 190 if (!dsa_print_key(EVP_PKEY_CTX_get0_pkey(ctx2), 0, libctx, propq)) 196 EVP_PKEY_CTX_free(ctx2);
|
| EVP_PKEY_DSA_paramvalidate.c | 110 EVP_PKEY_CTX *ctx2 = NULL; local 182 ctx2 = create_merged_key(dsaparamskey, params, libctx, propq); 183 if (ctx2 == NULL) 185 if (EVP_PKEY_param_check(ctx2) <= 0) { 190 if (!dsa_print_key(EVP_PKEY_CTX_get0_pkey(ctx2), 0, libctx, propq)) 196 EVP_PKEY_CTX_free(ctx2);
|
| /src/crypto/external/bsd/openssl/dist/demos/pkey/ |
| EVP_PKEY_DSA_paramvalidate.c | 111 EVP_PKEY_CTX *ctx2 = NULL; local 183 ctx2 = create_merged_key(dsaparamskey, params, libctx, propq); 184 if (ctx2 == NULL) 186 if (EVP_PKEY_param_check(ctx2) <= 0) { 191 if (!dsa_print_key(EVP_PKEY_CTX_get0_pkey(ctx2), 0, libctx, propq)) 197 EVP_PKEY_CTX_free(ctx2);
|
| EVP_PKEY_DSA_paramvalidate.c | 111 EVP_PKEY_CTX *ctx2 = NULL; local 183 ctx2 = create_merged_key(dsaparamskey, params, libctx, propq); 184 if (ctx2 == NULL) 186 if (EVP_PKEY_param_check(ctx2) <= 0) { 191 if (!dsa_print_key(EVP_PKEY_CTX_get0_pkey(ctx2), 0, libctx, propq)) 197 EVP_PKEY_CTX_free(ctx2);
|