Lines Matching refs:tempargs

635     loopargs_t *tempargs = *(loopargs_t **) args;  in EVP_Digest_loop()  local
636 unsigned char *buf = tempargs->buf; in EVP_Digest_loop()
736 loopargs_t *tempargs = *(loopargs_t **) args; in EVP_MAC_loop() local
737 unsigned char *buf = tempargs->buf; in EVP_MAC_loop()
738 EVP_MAC_CTX *mctx = tempargs->mctx; in EVP_MAC_loop()
802 loopargs_t *tempargs = *(loopargs_t **) args; in EVP_Cipher_loop() local
803 unsigned char *buf = tempargs->buf; in EVP_Cipher_loop()
806 if (tempargs->ctx == NULL) in EVP_Cipher_loop()
809 if (EVP_Cipher(tempargs->ctx, buf, buf, (size_t)lengths[testnum]) <= 0) in EVP_Cipher_loop()
816 loopargs_t *tempargs = *(loopargs_t **) args; in GHASH_loop() local
817 unsigned char *buf = tempargs->buf; in GHASH_loop()
818 EVP_MAC_CTX *mctx = tempargs->mctx; in GHASH_loop()
871 loopargs_t *tempargs = *(loopargs_t **) args; in RAND_bytes_loop() local
872 unsigned char *buf = tempargs->buf; in RAND_bytes_loop()
883 loopargs_t *tempargs = *(loopargs_t **) args; in EVP_Update_loop() local
884 unsigned char *buf = tempargs->buf; in EVP_Update_loop()
885 EVP_CIPHER_CTX *ctx = tempargs->ctx; in EVP_Update_loop()
925 loopargs_t *tempargs = *(loopargs_t **) args; in EVP_Update_loop_aead_enc() local
926 unsigned char *buf = tempargs->buf; in EVP_Update_loop_aead_enc()
927 unsigned char *key = tempargs->key; in EVP_Update_loop_aead_enc()
928 EVP_CIPHER_CTX *ctx = tempargs->ctx; in EVP_Update_loop_aead_enc()
995 loopargs_t *tempargs = *(loopargs_t **) args; in EVP_Update_loop_aead_dec() local
996 unsigned char *buf = tempargs->buf; in EVP_Update_loop_aead_dec()
997 unsigned char *outbuf = tempargs->buf2; in EVP_Update_loop_aead_dec()
998 unsigned char *key = tempargs->key; in EVP_Update_loop_aead_dec()
1000 EVP_CIPHER_CTX *ctx = tempargs->ctx; in EVP_Update_loop_aead_dec()
1038 memcpy(tag, tempargs->tag, TAG_LEN); in EVP_Update_loop_aead_dec()
1075 loopargs_t *tempargs = *(loopargs_t **) args; in RSA_sign_loop() local
1076 unsigned char *buf = tempargs->buf; in RSA_sign_loop()
1077 unsigned char *buf2 = tempargs->buf2; in RSA_sign_loop()
1078 size_t *rsa_num = &tempargs->sigsize; in RSA_sign_loop()
1079 EVP_PKEY_CTX **rsa_sign_ctx = tempargs->rsa_sign_ctx; in RSA_sign_loop()
1083 *rsa_num = tempargs->buflen; in RSA_sign_loop()
1097 loopargs_t *tempargs = *(loopargs_t **) args; in RSA_verify_loop() local
1098 unsigned char *buf = tempargs->buf; in RSA_verify_loop()
1099 unsigned char *buf2 = tempargs->buf2; in RSA_verify_loop()
1100 size_t rsa_num = tempargs->sigsize; in RSA_verify_loop()
1101 EVP_PKEY_CTX **rsa_verify_ctx = tempargs->rsa_verify_ctx; in RSA_verify_loop()
1118 loopargs_t *tempargs = *(loopargs_t **) args; in RSA_encrypt_loop() local
1119 unsigned char *buf = tempargs->buf; in RSA_encrypt_loop()
1120 unsigned char *buf2 = tempargs->buf2; in RSA_encrypt_loop()
1121 size_t *rsa_num = &tempargs->encsize; in RSA_encrypt_loop()
1122 EVP_PKEY_CTX **rsa_encrypt_ctx = tempargs->rsa_encrypt_ctx; in RSA_encrypt_loop()
1126 *rsa_num = tempargs->buflen; in RSA_encrypt_loop()
1140 loopargs_t *tempargs = *(loopargs_t **) args; in RSA_decrypt_loop() local
1141 unsigned char *buf = tempargs->buf; in RSA_decrypt_loop()
1142 unsigned char *buf2 = tempargs->buf2; in RSA_decrypt_loop()
1144 EVP_PKEY_CTX **rsa_decrypt_ctx = tempargs->rsa_decrypt_ctx; in RSA_decrypt_loop()
1148 rsa_num = tempargs->buflen; in RSA_decrypt_loop()
1149 ret = EVP_PKEY_decrypt(rsa_decrypt_ctx[testnum], buf, &rsa_num, buf2, tempargs->encsize); in RSA_decrypt_loop()
1164 loopargs_t *tempargs = *(loopargs_t **) args; in FFDH_derive_key_loop() local
1165 EVP_PKEY_CTX *ffdh_ctx = tempargs->ffdh_ctx[testnum]; in FFDH_derive_key_loop()
1166 unsigned char *derived_secret = tempargs->secret_ff_a; in FFDH_derive_key_loop()
1182 loopargs_t *tempargs = *(loopargs_t **) args; in DSA_sign_loop() local
1183 unsigned char *buf = tempargs->buf; in DSA_sign_loop()
1184 unsigned char *buf2 = tempargs->buf2; in DSA_sign_loop()
1185 size_t *dsa_num = &tempargs->sigsize; in DSA_sign_loop()
1186 EVP_PKEY_CTX **dsa_sign_ctx = tempargs->dsa_sign_ctx; in DSA_sign_loop()
1190 *dsa_num = tempargs->buflen; in DSA_sign_loop()
1204 loopargs_t *tempargs = *(loopargs_t **) args; in DSA_verify_loop() local
1205 unsigned char *buf = tempargs->buf; in DSA_verify_loop()
1206 unsigned char *buf2 = tempargs->buf2; in DSA_verify_loop()
1207 size_t dsa_num = tempargs->sigsize; in DSA_verify_loop()
1208 EVP_PKEY_CTX **dsa_verify_ctx = tempargs->dsa_verify_ctx; in DSA_verify_loop()
1226 loopargs_t *tempargs = *(loopargs_t **) args; in ECDSA_sign_loop() local
1227 unsigned char *buf = tempargs->buf; in ECDSA_sign_loop()
1228 unsigned char *buf2 = tempargs->buf2; in ECDSA_sign_loop()
1229 size_t *ecdsa_num = &tempargs->sigsize; in ECDSA_sign_loop()
1230 EVP_PKEY_CTX **ecdsa_sign_ctx = tempargs->ecdsa_sign_ctx; in ECDSA_sign_loop()
1234 *ecdsa_num = tempargs->buflen; in ECDSA_sign_loop()
1248 loopargs_t *tempargs = *(loopargs_t **) args; in ECDSA_verify_loop() local
1249 unsigned char *buf = tempargs->buf; in ECDSA_verify_loop()
1250 unsigned char *buf2 = tempargs->buf2; in ECDSA_verify_loop()
1251 size_t ecdsa_num = tempargs->sigsize; in ECDSA_verify_loop()
1252 EVP_PKEY_CTX **ecdsa_verify_ctx = tempargs->ecdsa_verify_ctx; in ECDSA_verify_loop()
1272 loopargs_t *tempargs = *(loopargs_t **) args; in ECDH_EVP_derive_key_loop() local
1273 EVP_PKEY_CTX *ctx = tempargs->ecdh_ctx[testnum]; in ECDH_EVP_derive_key_loop()
1274 unsigned char *derived_secret = tempargs->secret_a; in ECDH_EVP_derive_key_loop()
1276 size_t *outlen = &(tempargs->outlen[testnum]); in ECDH_EVP_derive_key_loop()
1287 loopargs_t *tempargs = *(loopargs_t **) args; in EdDSA_sign_loop() local
1288 unsigned char *buf = tempargs->buf; in EdDSA_sign_loop()
1289 EVP_MD_CTX **edctx = tempargs->eddsa_ctx; in EdDSA_sign_loop()
1290 unsigned char *eddsasig = tempargs->buf2; in EdDSA_sign_loop()
1291 size_t *eddsasigsize = &tempargs->sigsize; in EdDSA_sign_loop()
1315 loopargs_t *tempargs = *(loopargs_t **) args; in EdDSA_verify_loop() local
1316 unsigned char *buf = tempargs->buf; in EdDSA_verify_loop()
1317 EVP_MD_CTX **edctx = tempargs->eddsa_ctx2; in EdDSA_verify_loop()
1318 unsigned char *eddsasig = tempargs->buf2; in EdDSA_verify_loop()
1319 size_t eddsasigsize = tempargs->sigsize; in EdDSA_verify_loop()
1345 loopargs_t *tempargs = *(loopargs_t **) args; in SM2_sign_loop() local
1346 unsigned char *buf = tempargs->buf; in SM2_sign_loop()
1347 EVP_MD_CTX **sm2ctx = tempargs->sm2_ctx; in SM2_sign_loop()
1348 unsigned char *sm2sig = tempargs->buf2; in SM2_sign_loop()
1351 EVP_PKEY **sm2_pkey = tempargs->sm2_pkey; in SM2_sign_loop()
1373 tempargs->sigsize = sm2sigsize; in SM2_sign_loop()
1381 loopargs_t *tempargs = *(loopargs_t **) args; in SM2_verify_loop() local
1382 unsigned char *buf = tempargs->buf; in SM2_verify_loop()
1383 EVP_MD_CTX **sm2ctx = tempargs->sm2_vfy_ctx; in SM2_verify_loop()
1384 unsigned char *sm2sig = tempargs->buf2; in SM2_verify_loop()
1385 size_t sm2sigsize = tempargs->sigsize; in SM2_verify_loop()
1387 EVP_PKEY **sm2_pkey = tempargs->sm2_pkey; in SM2_verify_loop()
1412 loopargs_t *tempargs = *(loopargs_t **) args; in KEM_keygen_loop() local
1413 EVP_PKEY_CTX *ctx = tempargs->kem_gen_ctx[testnum]; in KEM_keygen_loop()
1435 loopargs_t *tempargs = *(loopargs_t **) args; in KEM_encaps_loop() local
1436 EVP_PKEY_CTX *ctx = tempargs->kem_encaps_ctx[testnum]; in KEM_encaps_loop()
1437 size_t out_len = tempargs->kem_out_len[testnum]; in KEM_encaps_loop()
1438 size_t secret_len = tempargs->kem_secret_len[testnum]; in KEM_encaps_loop()
1439 unsigned char *out = tempargs->kem_out[testnum]; in KEM_encaps_loop()
1440 unsigned char *secret = tempargs->kem_send_secret[testnum]; in KEM_encaps_loop()
1452 loopargs_t *tempargs = *(loopargs_t **) args; in KEM_decaps_loop() local
1453 EVP_PKEY_CTX *ctx = tempargs->kem_decaps_ctx[testnum]; in KEM_decaps_loop()
1454 size_t out_len = tempargs->kem_out_len[testnum]; in KEM_decaps_loop()
1455 size_t secret_len = tempargs->kem_secret_len[testnum]; in KEM_decaps_loop()
1456 unsigned char *out = tempargs->kem_out[testnum]; in KEM_decaps_loop()
1457 unsigned char *secret = tempargs->kem_send_secret[testnum]; in KEM_decaps_loop()
1469 loopargs_t *tempargs = *(loopargs_t **) args; in SIG_keygen_loop() local
1470 EVP_PKEY_CTX *ctx = tempargs->sig_gen_ctx[testnum]; in SIG_keygen_loop()
1485 loopargs_t *tempargs = *(loopargs_t **) args; in SIG_sign_loop() local
1486 EVP_PKEY_CTX *ctx = tempargs->sig_sign_ctx[testnum]; in SIG_sign_loop()
1488 unsigned char *sig = app_malloc(tempargs->sig_max_sig_len[testnum], in SIG_sign_loop()
1495 size_t sig_len = tempargs->sig_max_sig_len[testnum]; in SIG_sign_loop()
1511 loopargs_t *tempargs = *(loopargs_t **) args; in SIG_verify_loop() local
1512 EVP_PKEY_CTX *ctx = tempargs->sig_verify_ctx[testnum]; in SIG_verify_loop()
1513 size_t sig_len = tempargs->sig_act_sig_len[testnum]; in SIG_verify_loop()
1514 unsigned char *sig = tempargs->sig_sig[testnum]; in SIG_verify_loop()