Searched refs:cipher_mech (Results 1 – 1 of 1) sorted by relevance
106 CK_MECHANISM_TYPE cipher_mech = CKM_DES_ECB; in DESEncrypt() local117 slot = PK11_GetBestSlot(cipher_mech, NULL); in DESEncrypt()123 symkey = PK11_ImportSymKey(slot, cipher_mech, in DESEncrypt()130 param = PK11_ParamFromIV(cipher_mech, NULL); in DESEncrypt()134 ctxt = PK11_CreateContextBySymKey(cipher_mech, CKA_ENCRYPT, in DESEncrypt()