Searched refs:symkey (Results 1 – 2 of 2) sorted by relevance
51 PK11SymKey *symkey = NULL; in des_encrypt() local75 symkey = PK11_ImportSymKey(slot, CKM_DES_ECB, PK11_OriginDerive, in des_encrypt()77 if (symkey == NULL) { in des_encrypt()82 param = PK11_GenerateNewParam(CKM_DES_ECB, symkey); in des_encrypt()89 symkey, param); in des_encrypt()105 if (symkey) in des_encrypt()106 PK11_FreeSymKey(symkey); in des_encrypt()
108 PK11SymKey* symkey = NULL; in DESEncrypt() local123 symkey = PK11_ImportSymKey(slot, cipher_mech, in DESEncrypt()126 if (!symkey) in DESEncrypt()135 symkey, param); in DESEncrypt()152 if (symkey) in DESEncrypt()153 PK11_FreeSymKey(symkey); in DESEncrypt()