Home
last modified time | relevance | path

Searched refs:encrypt_key (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.6.0/bl1/bl1_2/scripts/
Dcreate_bl2_img.py48 encrypt_key = encrypt_key_file.read()
59 c = cmac.CMAC(algorithms.AES(encrypt_key))
79 def encrypt_binary_blob(blob, counter_val, encrypt_key): argument
80 cipher = Cipher(algorithms.AES(encrypt_key), modes.CTR(counter_val))
113 encrypt_key = derive_encryption_key(int(args.img_security_counter, 16).to_bytes(4, 'little')) variable
114 ciphertext = encrypt_binary_blob(plaintext, counter_val, encrypt_key)
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/bl2/
Dcreate_xip_tables.py48 with open(args.encrypt_key, "rb") as in_file:
49 encrypt_key = in_file.read() variable
51 encrypt_key = bytearray([0xfc, 0x57, 0x01, 0xdc, 0x61, 0x35, 0xe1, 0x32,
70 cipher = Cipher(algorithms.AES(encrypt_key), modes.CTR(counter_val))