Searched refs:privKey (Results 1 - 2 of 2) sorted by relevance

/barrelfish-master/lib/openssl-1.0.0d/demos/maurice/
H A Dexample2.c34 EVP_PKEY *privKey; local
39 privKey = ReadPrivateKey(PRIVFILE);
40 if (!privKey)
49 EVP_PKEY_free(privKey);
66 RSA_private_decrypt(len, buf, buf2, privKey->pkey.rsa,RSA_PKCS1_PADDING);
70 EVP_PKEY_free(privKey);
/barrelfish-master/lib/openssl-1.0.0d/demos/engines/ibmca/
H A Dhw_ibmca.c641 ICA_KEY_RSA_CRT *privKey=NULL; local
669 !bn_wexpand(key, sizeof(*privKey)/BN_BYTES ))
676 privKey = (ICA_KEY_RSA_CRT *)key->d;
682 if ( keyRecordSize > sizeof(privKey->keyRecord )) {
699 memset(privKey, 0, sizeof(ICA_KEY_RSA_CRT));
700 privKey->keyType = CORRECT_ENDIANNESS(CRT_KEY_TYPE);
701 privKey->keyLength = CORRECT_ENDIANNESS(sizeof(ICA_KEY_RSA_CRT));
702 privKey->modulusBitLength =
708 privKey->pLength = CORRECT_ENDIANNESS(BN_num_bytes(p)+8);
709 privKey
[all...]

Completed in 42 milliseconds