Lines Matching refs:crypto
75 std::unique_ptr<crypto::RSAPrivateKey> keypair1( in TEST()
76 crypto::RSAPrivateKey::Create(1024)); in TEST()
77 std::unique_ptr<crypto::RSAPrivateKey> keypair2( in TEST()
78 crypto::RSAPrivateKey::Create(2048)); in TEST()
92 std::unique_ptr<crypto::RSAPrivateKey> keypair3( in TEST()
93 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1)); in TEST()
94 std::unique_ptr<crypto::RSAPrivateKey> keypair4( in TEST()
95 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2)); in TEST()
115 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST()
116 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST()
118 std::unique_ptr<crypto::RSAPrivateKey> key_copy(key->Copy()); in TEST()
133 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST()
134 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST()
160 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST()
161 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST()
189 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST()
190 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST()
336 std::unique_ptr<crypto::RSAPrivateKey> keypair1( in TEST()
337 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input1)); in TEST()
338 std::unique_ptr<crypto::RSAPrivateKey> keypair2( in TEST()
339 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input2)); in TEST()
355 std::unique_ptr<crypto::RSAPrivateKey> key_pair( in TEST()
356 crypto::RSAPrivateKey::Create(512)); in TEST()
359 std::unique_ptr<crypto::RSAPrivateKey> key_copy( in TEST()
360 crypto::RSAPrivateKey::CreateFromKey(key_pair->key())); in TEST()