Searched refs:active_op (Results 1 – 3 of 3) sorted by relevance
51 crypto_active_op_t *active_op; in soft_arcfour_crypt_init() local76 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt); in soft_arcfour_crypt_init()77 active_op->context = keystream; in soft_arcfour_crypt_init()78 active_op->mech.mechanism = pMechanism->mechanism; in soft_arcfour_crypt_init()106 soft_arcfour_crypt(crypto_active_op_t *active_op, CK_BYTE_PTR input, in soft_arcfour_crypt() argument109 ARCFour_key *keystream = active_op->context; in soft_arcfour_crypt()
503 crypto_active_op_t *active_op; in soft_sign_verify_cleanup() local509 active_op = (sign) ? &(session_p->sign) : &(session_p->verify); in soft_sign_verify_cleanup()511 switch (active_op->mech.mechanism) { in soft_sign_verify_cleanup()529 (soft_rsa_ctx_t *)active_op->context; in soft_sign_verify_cleanup()549 (soft_dsa_ctx_t *)active_op->context; in soft_sign_verify_cleanup()570 if (active_op->context != NULL) { in soft_sign_verify_cleanup()571 explicit_bzero(active_op->context, in soft_sign_verify_cleanup()582 if (active_op->context != NULL) { in soft_sign_verify_cleanup()583 explicit_bzero(active_op->context, in soft_sign_verify_cleanup()596 if (active_op->context != NULL) { in soft_sign_verify_cleanup()[all …]
654 crypto_active_op_t *active_op; in soft_crypt_cleanup() local660 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt); in soft_crypt_cleanup()662 switch (active_op->mech.mechanism) { in soft_crypt_cleanup()673 (soft_des_ctx_t *)active_op->context; in soft_crypt_cleanup()697 soft_aes_free_ctx(active_op->context); in soft_crypt_cleanup()698 active_op->context = NULL; in soft_crypt_cleanup()704 (soft_blowfish_ctx_t *)active_op->context; in soft_crypt_cleanup()724 ARCFour_key *key = (ARCFour_key *)active_op->context; in soft_crypt_cleanup()735 (soft_rsa_ctx_t *)active_op->context; in soft_crypt_cleanup()748 if (active_op->context != NULL) { in soft_crypt_cleanup()[all …]