OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BlockMode
(Results
1 - 25
of
30
) sorted by null
1
2
/prebuilts/go/darwin-x86/src/crypto/aes/
modes.go
19
// implementation of CBC encryption through the cipher.
BlockMode
interface.
22
NewCBCEncrypter(iv []byte) cipher.
BlockMode
26
// implementation of CBC decryption through the cipher.
BlockMode
interface.
29
NewCBCDecrypter(iv []byte) cipher.
BlockMode
cbc_s390x.go
21
func (b *aesCipherAsm) NewCBCEncrypter(iv []byte) cipher.
BlockMode
{
29
func (b *aesCipherAsm) NewCBCDecrypter(iv []byte) cipher.
BlockMode
{
modes_test.go
31
func (*testBlock) NewCBCEncrypter([]byte) cipher.
BlockMode
{
34
func (*testBlock) NewCBCDecrypter([]byte) cipher.
BlockMode
{
65
// testBlockMode implements the cipher.
BlockMode
interface.
/prebuilts/go/linux-x86/src/crypto/aes/
modes.go
19
// implementation of CBC encryption through the cipher.
BlockMode
interface.
22
NewCBCEncrypter(iv []byte) cipher.
BlockMode
26
// implementation of CBC decryption through the cipher.
BlockMode
interface.
29
NewCBCDecrypter(iv []byte) cipher.
BlockMode
cbc_s390x.go
21
func (b *aesCipherAsm) NewCBCEncrypter(iv []byte) cipher.
BlockMode
{
29
func (b *aesCipherAsm) NewCBCDecrypter(iv []byte) cipher.
BlockMode
{
modes_test.go
31
func (*testBlock) NewCBCEncrypter([]byte) cipher.
BlockMode
{
34
func (*testBlock) NewCBCDecrypter([]byte) cipher.
BlockMode
{
65
// testBlockMode implements the cipher.
BlockMode
interface.
/prebuilts/go/darwin-x86/src/crypto/cipher/
cbc.go
35
//
BlockMode
if found.
37
NewCBCEncrypter(iv []byte)
BlockMode
40
// NewCBCEncrypter returns a
BlockMode
which encrypts in cipher block chaining
43
func NewCBCEncrypter(b Block, iv []byte)
BlockMode
{
92
//
BlockMode
if found.
94
NewCBCDecrypter(iv []byte)
BlockMode
97
// NewCBCDecrypter returns a
BlockMode
which decrypts in cipher block chaining
100
func NewCBCDecrypter(b Block, iv []byte)
BlockMode
{
cipher.go
38
// A
BlockMode
represents a block cipher running in a block-based mode (CBC,
40
type
BlockMode
interface {
/prebuilts/go/linux-x86/src/crypto/cipher/
cbc.go
35
//
BlockMode
if found.
37
NewCBCEncrypter(iv []byte)
BlockMode
40
// NewCBCEncrypter returns a
BlockMode
which encrypts in cipher block chaining
43
func NewCBCEncrypter(b Block, iv []byte)
BlockMode
{
92
//
BlockMode
if found.
94
NewCBCDecrypter(iv []byte)
BlockMode
97
// NewCBCDecrypter returns a
BlockMode
which decrypts in cipher block chaining
100
func NewCBCDecrypter(b Block, iv []byte)
BlockMode
{
cipher.go
38
// A
BlockMode
represents a block cipher running in a block-based mode (CBC,
40
type
BlockMode
interface {
/hardware/interfaces/keymaster/3.0/vts/functional/
keymaster_hidl_hal_test.cpp
142
return a.f.
blockMode
== b.f.
blockMode
;
792
.
BlockMode
(
BlockMode
::CTR)
799
.
BlockMode
(
BlockMode
::CTR)
[
all
...]
authorization_set.h
285
AuthorizationSetBuilder&
BlockMode
(std::initializer_list<
BlockMode
> block_modes);
289
// The following forwarding templates enable
BlockMode
,Digest and Padding to be called with a
291
template <typename... T> AuthorizationSetBuilder&
BlockMode
(T&&... a) {
292
return
BlockMode
({std::forward<T>(a)...});
388
return
BlockMode
(
BlockMode
::ECB);
392
AuthorizationSetBuilder::
BlockMode
(std::initializer_list<V3_0::
BlockMode
> block_modes) {
key_param_output.h
39
::std::ostream& operator<<(::std::ostream& os,
BlockMode
value);
keymaster_tags.h
219
MAKE_TAG_ENUM_VALUE_ACCESSOR(TAG_BLOCK_MODE, f.
blockMode
)
367
inline const char* stringify(
BlockMode
block_mode) {
369
case
BlockMode
::ECB:
371
case
BlockMode
::CBC:
373
case
BlockMode
::CTR:
375
case
BlockMode
::GCM:
key_param_output.cpp
50
::std::ostream& operator<<(::std::ostream& os,
BlockMode
value) {
84
return os << param.f.
blockMode
;
/hardware/interfaces/keymaster/3.0/
types.hal
44
BLOCK_MODE = TagType:ENUM_REP | 4, /**
BlockMode
. */
172
enum
BlockMode
: uint32_t {
380
BlockMode
blockMode
;
/system/security/keystore/
keystore_cli_v2.cpp
156
parameters.Authorization(TAG_BLOCK_MODE,
BlockMode
::GCM)
159
parameters.Authorization(TAG_BLOCK_MODE,
BlockMode
::ECB);
160
parameters.Authorization(TAG_BLOCK_MODE,
BlockMode
::CBC);
161
parameters.Authorization(TAG_BLOCK_MODE,
BlockMode
::CTR);
keystore_client_impl.cpp
79
encrypt_params.Authorization(TAG_BLOCK_MODE,
BlockMode
::CBC);
138
encrypt_params.Authorization(TAG_BLOCK_MODE,
BlockMode
::CBC);
384
.Authorization(TAG_BLOCK_MODE,
BlockMode
::CBC)
465
if (!block_mode.isOk() || block_mode.value() !=
BlockMode
::CBC) {
/frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreKeyGeneratorSpi.java
186
mKeymasterBlockModes = KeyProperties.
BlockMode
.allToKeymaster(spec.getBlockModes());
195
+ KeyProperties.
BlockMode
.fromKeymaster(keymasterBlockMode)
KeyProperties.java
293
public static abstract class
BlockMode
{
294
private
BlockMode
() {}
296
public static int toKeymaster(@NonNull @BlockModeEnum String
blockMode
) {
297
if (BLOCK_MODE_ECB.equalsIgnoreCase(
blockMode
)) {
299
} else if (BLOCK_MODE_CBC.equalsIgnoreCase(
blockMode
)) {
301
} else if (BLOCK_MODE_CTR.equalsIgnoreCase(
blockMode
)) {
303
} else if (BLOCK_MODE_GCM.equalsIgnoreCase(
blockMode
)) {
306
throw new IllegalArgumentException("Unsupported block mode: " +
blockMode
);
311
public static @BlockModeEnum String fromKeymaster(int
blockMode
) {
312
switch (
blockMode
) {
[
all
...]
AndroidKeyStoreSecretKeyFactorySpi.java
147
blockModes = KeyProperties.
BlockMode
.allFromKeymaster(
AndroidKeyStoreSpi.java
480
KeyProperties.
BlockMode
.allToKeymaster(spec.getBlockModes()));
676
KeyProperties.
BlockMode
.allToKeymaster(params.getBlockModes());
685
+ KeyProperties.
BlockMode
.fromKeymaster(keymasterBlockMode)
[
all
...]
/system/security/keystore/include/keystore/
authorization_set.h
331
return Authorization(TAG_BLOCK_MODE,
BlockMode
::ECB);
keymaster_tags.h
69
using ::android::hardware::keymaster::V3_0::
BlockMode
;
235
MAKE_TAG_ENUM_VALUE_ACCESSOR(TAG_BLOCK_MODE, f.
blockMode
)
/system/vold/
KeyStorage.cpp
112
.Authorization(TAG_BLOCK_MODE,
BlockMode
::GCM)
137
.Authorization(TAG_BLOCK_MODE,
BlockMode
::GCM)
Completed in 236 milliseconds
1
2