/external/tpm2/ |
D | CpriSym_fp.h | 12 UINT32 keySizeInBits, // IN: key size in bit 21 UINT32 keySizeInBits, // IN: key size in bit 39 UINT32 keySizeInBits, // IN: key size in bit 53 #define _cpri__AESDecryptOFB(dOut, keySizeInBits, key, iv, dInSize, dIn) \ argument 54 _cpri__AESEncryptOFB(((BYTE *)dOut), ((UINT32)keySizeInBits), ((BYTE *)key), \ 75 #define _cpri__SM4DecryptOFB(dOut, keySizeInBits, key, iv, dInSize, dIn) \ argument 76 _cpri__SM4EncryptOFB(((BYTE *)dOut), ((UINT32)keySizeInBits), ((BYTE *)key), \ 81 UINT32 keySizeInBits, // IN: key size in bit 90 UINT32 keySizeInBits, // IN: key size in bit 99 UINT32 keySizeInBits, // IN: key size in bit [all …]
|
D | CpriSym.c | 45 UINT16 keySizeInBits // IN: the key size in _cpri__GetSymmetricBlockSize() argument 56 if(keySizeInBits != 0) // This is mostly to have a reference to in _cpri__GetSymmetricBlockSize() 84 UINT32 keySizeInBits, // IN: key size in bit in _cpri__AESEncryptCBC() argument 107 if (AES_set_encrypt_key(key, keySizeInBits, &AesKey) != 0) in _cpri__AESEncryptCBC() 139 UINT32 keySizeInBits, // IN: key size in bit in _cpri__AESDecryptCBC() argument 164 if (AES_set_decrypt_key(key, keySizeInBits, &AesKey) != 0) in _cpri__AESDecryptCBC() 200 UINT32 keySizeInBits, // IN: key size in bit in _cpri__AESEncryptCFB() argument 218 if (AES_set_encrypt_key(key, keySizeInBits, &AesKey) != 0) in _cpri__AESEncryptCFB() 254 UINT32 keySizeInBits, // IN: key size in bit in _cpri__AESDecryptCFB() argument 274 if (AES_set_encrypt_key(key, keySizeInBits, &AesKey) != 0) in _cpri__AESDecryptCFB() [all …]
|
D | CryptUtil.c | 1246 UINT16 keySizeInBits = 0; in CryptEccGetKeySizeInBits() local 1248 keySizeInBits = curve->keySizeBits; in CryptEccGetKeySizeInBits() 1249 return keySizeInBits; in CryptEccGetKeySizeInBits() 1789 UINT16 keySizeInBits, // IN: key key size in bit in ParmDecryptSym() argument 1802 UINT16 keySize = (keySizeInBits + 7) / 8; in ParmDecryptSym() 1804 iv.t.size = CryptGetSymmetricBlockSize(symAlg, keySizeInBits); in ParmDecryptSym() 1810 keySizeInBits + (iv.t.size * 8), symParmString, NULL); in ParmDecryptSym() 1813 CryptSymmetricDecrypt(data, symAlg, keySizeInBits, TPM_ALG_CFB, in ParmDecryptSym() 1828 UINT16 keySizeInBits, // IN: AES key size in bit in ParmEncryptSym() argument 1840 UINT16 keySize = (keySizeInBits + 7) / 8; in ParmEncryptSym() [all …]
|
D | stubs_sym.c | 9 UINT16 keySizeInBits // IN: the key size in _cpri__GetSymmetricBlockSize() argument 20 if(keySizeInBits != 0) // This is mostly to have a reference to in _cpri__GetSymmetricBlockSize()
|
D | RSAKeySieve.c | 184 _cpri__UpdateHash(&h, 2, (BYTE *)&ktx->keySizeInBits); in RandomForRsa() 739 ktx->keySizeInBits = keySizeInBits; in KDFaContextStart() 779 UINT16 keySizeInBits, // IN: Size of the public modulus in bits in _cpri__GenerateKeyRSA() argument 811 ktxPtr = KDFaContextStart(&ktx, seed, hashAlg, extra, pCtr, keySizeInBits); in _cpri__GenerateKeyRSA() 812 n->size = keySizeInBits/8; in _cpri__GenerateKeyRSA() 888 || BN_num_bits(bnN) != keySizeInBits) in _cpri__GenerateKeyRSA() 918 _cpri__GenerateRandom(keySizeInBits/8, r.t.buffer); in _cpri__GenerateKeyRSA()
|
D | RSAKeySieve_fp.h | 13 UINT16 keySizeInBits, // IN: Size of the public modulus in bits
|
D | OsslCryptoEngine.h | 74 UINT16 keySizeInBits; member
|
D | CpriRSA_fp.h | 34 UINT16 keySizeInBits, // IN: Size of the public modulus in bit
|
D | CryptUtil_fp.h | 317 UINT16 keySizeInBits, // IN: key size in bit 327 UINT16 keySizeInBits, // IN: key size in bit
|
D | CpriRSA.c | 1168 UINT16 keySizeInBits, // IN: Size of the public modulus in bit in _cpri__GenerateKeyRSA() argument 1243 n->size = (keySizeInBits +7)/8; in _cpri__GenerateKeyRSA() 1278 _cpri__UpdateHash(&h, 2, (BYTE *)&keySizeInBits); in _cpri__GenerateKeyRSA() 1332 if(BN_num_bits(bnN) != keySizeInBits) in _cpri__GenerateKeyRSA()
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | RsaKeyTest.java | 1436 private void checkKeyPair(KeyPair keypair, int keySizeInBits) throws Exception { in checkKeyPair() argument 1440 checkPrivateCrtKey((RSAPrivateCrtKey) priv, keySizeInBits); in checkKeyPair() local 1450 public void testKeyGenerationSize(int keySizeInBits) throws Exception { in testKeyGenerationSize() argument 1452 keyGen.initialize(keySizeInBits); in testKeyGenerationSize() 1454 checkKeyPair(keypair, keySizeInBits); in testKeyGenerationSize()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | PBEPBKDF2.java | 127 private int keySizeInBits; field in PBEPBKDF2.BasePBKDF2 140 String name, int scheme, int digest, int keySizeInBits, int ivSizeInBits) in BasePBKDF2() argument 147 this.keySizeInBits = keySizeInBits; in BasePBKDF2() 174 && keySizeInBits != 0) { in engineGenerateSecret() 176 this.algName, this.algOid, scheme, defaultDigest, keySizeInBits, in engineGenerateSecret()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseStreamCipher.java | 48 private int keySizeInBits; field in BaseStreamCipher 67 int keySizeInBits, in BaseStreamCipher() argument 72 this.keySizeInBits = keySizeInBits; in BaseStreamCipher() 177 …param = PBE.Util.makePBEParameters(k.getEncoded(), PKCS12, digest, keySizeInBits, ivLength * 8, pb… in engineInit()
|
D | BaseBlockCipher.java | 117 private int keySizeInBits; field in BaseBlockCipher 156 int keySizeInBits, in BaseBlockCipher() argument 163 this.keySizeInBits = keySizeInBits; in BaseBlockCipher() 596 …param = PBE.Util.makePBEParameters(k.getEncoded(), PKCS12, digest, keySizeInBits, ivLength * 8, pb… in engineInit() 678 …param = PBE.Util.makePBEParameters(k.getEncoded(), scheme, digest, keySizeInBits, ivLength * 8, pb… in engineInit()
|
/external/libchrome/crypto/ |
D | nss_key_util.cc | 67 param.keySizeInBits = num_bits; in GenerateRSAKeyPairNSS()
|