Changeset View
Changeset View
Standalone View
Standalone View
crypto/aes/asm/bsaes-armv7.pl
#! /usr/bin/env perl | #! /usr/bin/env perl | ||||
# Copyright 2012-2021 The OpenSSL Project Authors. All Rights Reserved. | # Copyright 2012-2023 The OpenSSL Project Authors. All Rights Reserved. | ||||
# | # | ||||
# Licensed under the Apache License 2.0 (the "License"). You may not use | # Licensed under the Apache License 2.0 (the "License"). You may not use | ||||
# this file except in compliance with the License. You can obtain a copy | # this file except in compliance with the License. You can obtain a copy | ||||
Context not available. | |||||
# details see http://www.openssl.org/~appro/cryptogams/. | # details see http://www.openssl.org/~appro/cryptogams/. | ||||
# | # | ||||
# Specific modes and adaptation for Linux kernel by Ard Biesheuvel | # Specific modes and adaptation for Linux kernel by Ard Biesheuvel | ||||
# of Linaro. Permission to use under GPL terms is granted. | # of Linaro. | ||||
# ==================================================================== | # ==================================================================== | ||||
# Bit-sliced AES for ARM NEON | # Bit-sliced AES for ARM NEON | ||||
Context not available. | |||||
.align 2 | .align 2 | ||||
0: add r12, $key, #248 | 0: add r12, $key, #248 | ||||
vld1.8 {@XMM[0]}, [$ctr] @ load counter | vld1.8 {@XMM[0]}, [$ctr] @ load counter | ||||
adrl $ctr, .LREVM0SR @ borrow $ctr | add $ctr, $const, #.LREVM0SR-.LM0 @ borrow $ctr | ||||
vldmia r12, {@XMM[4]} @ load round0 key | vldmia r12, {@XMM[4]} @ load round0 key | ||||
sub sp, #0x10 @ place for adjusted round0 key | sub sp, #0x10 @ place for adjusted round0 key | ||||
#endif | #endif | ||||
Context not available. |