Home
last modified time | relevance | path

Searched refs:finalize (Results 1 – 25 of 796) sorted by relevance

12345678910>>...32

/external/python/cryptography/tests/hazmat/primitives/
Dtest_padding.py36 unpadder.finalize()
55 unpadder.update(mybytes(padder.finalize()))
56 assert unpadder.finalize() == b"abc"
74 result += padder.finalize()
91 result += unpadder.finalize()
96 b = padder.finalize()
100 padder.finalize()
104 unpadder.finalize()
108 unpadder.finalize()
113 padded_data += padder.finalize()
[all …]
Dtest_block.py62 encryptor.finalize()
66 encryptor.finalize()
69 decryptor.finalize()
73 decryptor.finalize()
83 encryptor.finalize()
97 ct += encryptor.finalize()
104 decryptor.finalize()
122 encryptor.finalize()
127 decryptor.finalize()
Dtest_aes_gcm.py53 encryptor.finalize()
67 computed_ct = encryptor.update(pt) + encryptor.finalize()
128 encryptor.finalize()
135 decryptor.finalize()
146 encryptor.finalize()
153 decryptor.finalize()
164 encryptor.finalize()
189 ct = enc.update(data) + enc.finalize()
196 pt = dec.update(ct) + dec.finalize()
212 encryptor.finalize()
Dtest_poly1305.py52 assert poly.finalize() == tag
59 assert len(poly.finalize()) == 16
63 poly.finalize()
69 poly.finalize()
82 tag = poly.finalize()
150 assert poly.finalize() == binascii.unhexlify(
Dtest_cmac.py68 assert binascii.hexlify(cmac.finalize()) == output
105 assert binascii.hexlify(cmac.finalize()) == output
160 cmac.finalize()
169 cmac.finalize()
201 assert cmac.finalize() == copy_cmac.finalize()
213 assert cmac.finalize() == binascii.unhexlify(
Dutils.py68 actual_ciphertext += encryptor.finalize()
72 actual_plaintext += decryptor.finalize()
121 decryptor.finalize()
131 actual_ciphertext += encryptor.finalize()
146 actual_plaintext += decryptor.finalize()
171 actual_ciphertext += encryptor.finalize()
176 actual_plaintext += decryptor.finalize()
195 assert m.finalize() == binascii.unhexlify(expected_md)
216 assert copy.finalize() == m.finalize()
248 assert h.finalize() == binascii.unhexlify(md.encode("ascii"))
[all …]
/external/rust/crates/crc32fast/src/
Dlib.rs68 h.finalize() in hash()
146 pub fn finalize(self) -> u32 { in finalize() method
148 State::Baseline(state) => state.finalize(), in finalize()
149 State::Specialized(state) => state.finalize(), in finalize()
165 let other_crc = other.clone().finalize(); in combine()
191 u64::from(self.clone().finalize()) in finish()
210 hash_a.finalize() == hash_c.finalize()
216 let a = hash_a.finalize();
220 let b = hash_b.finalize();
225 let ab = hash_ab.finalize();
[all …]
/external/libchrome/third_party/jinja2/
Dnativetypes.py46 finalize = self.environment.finalize
47 finalize_context = getattr(finalize, 'contextfunction', False)
48 finalize_eval = getattr(finalize, 'evalcontextfunction', False)
49 finalize_env = getattr(finalize, 'environmentfunction', False)
51 if finalize is not None:
56 return finalize(self.environment, x)
58 const_finalize = finalize
135 if finalize is not None:
176 if finalize is not None:
/external/python/jinja/src/jinja2/
Dnativetypes.py49 def _output_child_to_const(self, node, frame, finalize): argument
58 return finalize.const(const)
60 def _output_child_pre(self, node, frame, finalize): argument
61 if finalize.src is not None:
62 self.write(finalize.src)
64 def _output_child_post(self, node, frame, finalize): argument
65 if finalize.src is not None:
/external/clang/test/SemaObjC/
Dwarn-missing-super.m12 - (void)finalize { method
19 - (void)finalize; method
25 - (void)finalize { method
31 - (void)finalize; method
38 - (void)finalize { method
39 [super finalize]; // Shouldn't warn
49 // CHECK-GC: warn-missing-super.m:26:1: warning: method possibly missing a [super finalize] call
53 // CHECK-GC-ONLY: warn-missing-super.m:26:1: warning: method possibly missing a [super finalize] ca…
/external/boringssl/src/rust/bssl-crypto/src/
Dhmac.rs64 pub fn finalize(self) -> [u8; 32] { in finalize() method
65 self.0.finalize()
110 pub fn finalize(self) -> [u8; 64] { in finalize() method
111 self.0.finalize()
228 fn finalize(self) -> [u8; N] { in finalize() method
266 let result = &self.finalize()[..len]; in verify_truncated_left()
327 let hmac_result: [u8; 32] = hmac.finalize(); in hmac_sha256_test()
351 let hmac_result: [u8; 32] = hmac.finalize(); in hmac_sha256_reset_test()
368 let hmac_result: [u8; 32] = hmac.finalize(); in hmac_sha256_fixed_size_key_test()
383 let result = hmac.finalize(); in hmac_sha256_update_test()
[all …]
/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/
Dhmac.rs64 pub fn finalize(self) -> [u8; 32] { in finalize() method
65 self.0.finalize()
110 pub fn finalize(self) -> [u8; 64] { in finalize() method
111 self.0.finalize()
228 fn finalize(self) -> [u8; N] { in finalize() method
266 let result = &self.finalize()[..len]; in verify_truncated_left()
327 let hmac_result: [u8; 32] = hmac.finalize(); in hmac_sha256_test()
351 let hmac_result: [u8; 32] = hmac.finalize(); in hmac_sha256_reset_test()
368 let hmac_result: [u8; 32] = hmac.finalize(); in hmac_sha256_fixed_size_key_test()
383 let result = hmac.finalize(); in hmac_sha256_update_test()
[all …]
/external/rust/crates/tokio-stream/src/stream_ext/
Dcollect.rs74 return Ready(U::finalize(sealed::Internal, me.collection)); in poll()
79 return Ready(U::finalize(sealed::Internal, me.collection)); in poll()
98 fn finalize(_: sealed::Internal, _collection: &mut ()) {} in finalize() method
115 fn finalize(_: sealed::Internal, collection: &mut String) -> String { in finalize() method
134 fn finalize(_: sealed::Internal, collection: &mut Vec<T>) -> Vec<T> { in finalize() method
152 fn finalize(_: sealed::Internal, collection: &mut Vec<T>) -> Box<[T]> { in finalize() method
153 <Vec<T> as sealed::FromStreamPriv<T>>::finalize(sealed::Internal, collection) in finalize()
192 fn finalize(_: sealed::Internal, collection: &mut Self::InternalCollection) -> Result<U, E> { in finalize() function
194 Ok(U::finalize(sealed::Internal, collection)) in finalize()
224 fn finalize(internal: Internal, collection: &mut Self::InternalCollection) -> Self; in finalize() method
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DIsCollectedDebuggee.java137 protected void finalize() throws Throwable { in finalize() method in IsCollectedObject001_01
139 super.finalize(); in finalize()
145 protected void finalize() throws Throwable { in finalize() method in IsCollectedObject001_02
147 super.finalize(); in finalize()
153 protected void finalize() throws Throwable { in finalize() method in IsCollectedObject001_03
155 super.finalize(); in finalize()
DDisableCollectionDebuggee.java114 protected void finalize() throws Throwable { in finalize() method in DisableCollectionObject001_01
116 super.finalize(); in finalize()
122 protected void finalize() throws Throwable { in finalize() method in DisableCollectionObject001_02
124 super.finalize(); in finalize()
/external/clang/test/ARCMT/
DGC-no-finalize-removal.m.result2 // RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-gc-only -no-finalize
4 // RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-gc-only -no-finalize
24 -(void)finalize {
25 // finalize
39 -(void)finalize {
41 // finalize
46 // finalize
DGC-no-finalize-removal.m2 // RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-gc-only -no-finalize
4 // RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-gc-only -no-finalize
23 -(void)finalize { method
24 // finalize
36 -(void)finalize { method
38 // finalize
/external/python/cryptography/tests/hypothesis/
Dtest_padding.py20 padded = padder.update(data) + padder.finalize()
22 assert unpadder.update(padded) + unpadder.finalize() == data
32 padded = padder.update(data) + padder.finalize()
34 assert unpadder.update(padded) + unpadder.finalize() == data
/external/rust/beto-rust/nearby/crypto/crypto_provider_openssl/src/
Dhmac_boringssl.rs59 fn finalize(mut self) -> [u8; N] { in finalize() method
61 self.ctx.finalize(&mut buf).expect("wrong length");
66 let binding: [u8; N] = self.finalize(); in verify_slice()
76 let binding: [u8; N] = self.finalize();
86 let binding: [u8; N] = self.finalize(); in verify_truncated_left()
/external/python/cryptography/tests/wycheproof/
Dtest_aes.py33 enc.update(padder.update(msg) + padder.finalize()) + enc.finalize()
36 padded_msg = dec.update(ct) + dec.finalize()
40 computed_msg = unpadder.update(padded_msg) + unpadder.finalize()
45 unpadder.update(padded_msg) + unpadder.finalize()
69 computed_ct = enc.update(msg) + enc.finalize()
79 computed_msg = dec.update(ct) + dec.finalize()
90 dec.finalize()
/external/python/cryptography/docs/hazmat/primitives/
Dpadding.rst29 >>> padded_data += padder.finalize()
36 >>> data + unpadder.finalize()
72 >>> padded_data += padder.finalize()
79 >>> data + unpadder.finalize()
105 ``finalize()`` to finish the operation and obtain the remainder of the
114 :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize`.
117 .. method:: finalize()
121 After ``finalize`` has been called this object can no longer be used;
122 :meth:`update` and :meth:`finalize` will raise an
/external/python/cryptography/docs/hazmat/primitives/mac/
Dcmac.rst33 >>> c.finalize()
69 :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize`
75 :meth:`finalize` to get an intermediate value while we continue
80 :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize`
89 :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize`
95 .. method:: finalize()
100 After ``finalize`` has been called this object can no longer be used
101 and :meth:`update`, :meth:`copy`, :meth:`verify` and :meth:`finalize`
Dhmac.rst33 >>> h.finalize()
74 :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize`
80 :meth:`finalize` to get an intermediate digest value while we continue
85 :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize`
94 :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize`
100 .. method:: finalize()
104 After ``finalize`` has been called this object can no longer be used
105 and :meth:`update`, :meth:`copy`, :meth:`verify` and :meth:`finalize`
/external/python/jinja/tests/
Dtest_api.py40 e = Environment(finalize=lambda v: "" if v is None else v)
45 e = Environment(finalize=lambda v: "" if v is None else v)
50 e = Environment(finalize=lambda v: type(v).__name__)
57 def finalize(context, value): function
60 e = Environment(finalize=finalize)
66 def finalize(eval_ctx, value): function
69 e = Environment(finalize=finalize, autoescape=True)
75 def finalize(env, value): function
80 e = Environment(finalize=finalize)
/external/rust/beto-rust/nearby/crypto/crypto_provider_boringssl/src/
Dhmac.rs33 fn finalize(self) -> [u8; 32] { in finalize() method
34 self.0.finalize()
66 fn finalize(self) -> [u8; 64] { in finalize() method
67 self.0.finalize()

12345678910>>...32